import axios from "@/request/request";
import qs from "qs"

// 精品推荐
export const JingpinAPI = () => axios.get("/products/recommend ")

// 热门推荐
export const Remen = () => axios.get("/products/hot ")

// 发送验证码
export const sendSMSAPI = (params) => axios.post("/sendSMS ", qs.stringify(params))

// 手机号码登录
export const PhoneReginAPI = (params) => axios.post("/phoneRegin ", qs.stringify(params))

// 微信扫码登录
export const weixinLoginAPI = (params) => axios.post("/wechatUsers/PCLogin ", qs.stringify(params))

// 微信扫码登录
export const BindingAPI = (params) => axios.post("/wechatUsers/binding ", qs.stringify(params))